/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* 头部样式 */
.header {
    background-color: #333;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.nav a:hover {
    color: #ddd;
}

/* 内容区域样式 */
.content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

/* 消息提示样式 */
.error-message {
    color: red;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid red;
    border-radius: 4px;
    background-color: #ffe6e6;
}

.success-message {
    color: green;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid green;
    border-radius: 4px;
    background-color: #e6ffe6;
} 